Using machine learning to monitor link quality and predict link faults

ABSTRACT

A device may receive a trained data model that has been trained using historical link quality information associated with a set of links. The device may determine, after receiving the trained data model, link quality information associated with a link that is actively supporting traffic. The device may classify the link by using the link quality information as input for the data model. The data model may classify the link into a class of a set of classes associated with measuring link quality. The device may determine an actual quality level of the link. The device may selectively update the class of the link after determining the actual link quality of the link. The device may perform one or more actions associated with improving link quality based on classifying the link and/or selectively updating the class of the link.

RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.15/666,015, filed Aug. 1, 2017 (now U.S. Pat. No. 10,298,465), thedisclosure of which is incorporated herein by reference.

BACKGROUND

A network device may include internal links and external links. Forexample, a network device may include internal links that allow trafficflow (e.g., packets) between components of the network device and/orexternal links that allow traffic flow between network devices.

SUMMARY

According to some possible implementations, a device may include one ormore processors to receive a trained data model. The data model may betrained with historical link quality information associated with a setof links. The data model may include one or more values associated withmeasuring link quality. The one or more processors may determine, afterreceiving the trained data model, link quality information associatedwith a link that is actively supporting traffic flow. The one or moreprocessors may classify the link by using the link quality informationas input for the data model. The data model may classify the link into afirst class associated with a first measure of link quality, a secondclass associated with a second measure of link quality, or a third classassociated with a third measure of link quality. The one or moreprocessors may determine whether the link is correctly classified byupdating the data model with information associated with improvingaccuracy of classifying the link. The one or more processors may updatea class of the link to the first class, the second class, or the thirdclass after determining whether the link is correctly classified. Theone or more processors may perform one or more actions associated withimproving link quality based on classifying the link and/or updating aclass of the link.

According to some possible implementations, a non-transitorycomputer-readable medium may store one or more instructions that, whenexecuted by one or more processors, cause the one or more processors toobtain a data model that is trained using historical link qualityinformation associated with a set of links. The historical link qualityinformation may include one or more values associated with measuringlink quality. The one or more instructions may cause the one or moreprocessors to determine, after obtaining the data model, link qualityinformation associated with a link that is actively supporting trafficflow. The one or more instructions may cause the one or more processorsto classify the link by using the link quality information as input forthe data model. The data model may classify the link into a class of aset of classes associated with measuring link quality. The one or moreinstructions may cause the one or more processors to determine whetherthe link is correctly classified by performing one or more actionsassociated with improving accuracy of classifying the link. The one ormore instructions may cause the one or more processors to selectivelyupdate the class of the link after determining whether the link iscorrectly classified. The one or more instructions may cause the one ormore processors to perform one or more actions associated with improvinglink quality based on classifying the link and/or selectively updatingthe class of the link.

According to some possible implementations, a method may includereceiving, by a device, a trained data model. The trained data model maybe trained using historical link quality information associated with aset of links. The method may include determining, by the device andafter receiving the trained data model, link quality informationassociated with a link that is actively supporting traffic. The methodmay include classifying the link, by the device, by using the linkquality information as input for the data model. The data model mayclassify the link into a class of a set of classes associated withmeasuring link quality. The method may include determining, by thedevice, an actual quality level of the link. The method may includeselectively updating the class of the link, by the device, afterdetermining the actual link quality of the link. The method may includeperforming, by the device, one or more actions associated with improvinglink quality based on classifying the link and/or selectively updatingthe class of the link.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A-1D are diagrams of an overview of an example implementationdescribed herein;

FIG. 2 is a diagram of an example environment in which systems and/ormethods, described herein, may be implemented;

FIG. 3 is a diagram of example components of one or more devices of FIG.2;

FIG. 4 is a flow chart of an example process for using machine learningto monitor link quality and detect link faults; and

FIGS. 5A-5C are diagrams of one or more example implementations relatingto the example process shown in FIG. 4.

DETAILED DESCRIPTION

The following detailed description of example implementations refers tothe accompanying drawings. The same reference numbers in differentdrawings may identify the same or similar elements.

As demand for data services increases, the amount of traffic that anetwork device handles may increase. This may lead to higher bandwidthinterconnects within a board (e.g., a printed circuit board (PCB))located within the network device, and may further cause links (e.g.,Serializer-Deserializer (SerDes) links) to be run at higher speeds.Furthermore, the board may be densely packed with internal links,causing interference and leading to link degradation over the life ofthe board. However, many network devices are only able to detect linkfaults (e.g., link degradation) after the faults occur.

Some implementations described herein provide a network device to useone or more machine learning techniques to monitor link quality and todetect link faults prior to the link incurring the fault. For example, amodel generation device may use historical link quality informationassociated with a set of links to train a data model (e.g., by creatinga prediction function), and may provide the trained data model (e.g.,the prediction function) to a set of network devices. In this case, theset of network devices may classify links that actively support trafficflow by using link quality information associated with the links asinput for the data model. Furthermore, the network device may performone or more actions associated with improving accuracy of linkclassification and/or one or more actions associated with improving linkquality (e.g., request to repair a link and/or a board, request toreplace a board, adapt to environmental conditions associated with alink, etc.).

In this way, the set of network devices predict link faults and, bytaking one or more pre-emptive actions, eliminate traffic loss via linksassociated with the set of network devices. Furthermore, by performingone or more actions associated with improving link quality, the set ofnetwork devices improve efficiency and reliability of networkcommunications.

FIGS. 1A-1D are diagrams of an overview of an example implementation 100described herein. As shown in FIGS. 1A-1D, example implementation 100may include a model generation device that uses one or more machinelearning techniques to train a data model that may be used to monitorlink quality and detect link faults. Additionally, as described indetail further herein, a set of network devices may use the trained datamodel to perform one or more actions associated with improving accuracyof link classification and/or one or more actions associated withimproving link quality.

As shown in FIG. 1A, and by reference number 105, the model generationdevice may receive, from a data source, historical link qualityinformation. The historical link quality information may include one ormore values associated with measuring link quality. In this case, thehistorical performance information may include one or more actualmeasures of link quality, one or more predictors of link quality, and/orone or more environment conditions.

For example, the one or more actual measures of link quality may includeone or more values associated with identifying errors in datatransmission, such as a forward error correction (FEC) value, a cyclicredundancy check (CRC) value, one or more values measuring signalintegrity, such as a signal-to-noise (SNR) ratio value, and/or the like.Additionally, the one or more predictors of link quality may include abit error rate (BER) value, a link eye width value, a link eye heightvalue, a link quality slope, and/or the like. Furthermore, the one ormore environment conditions may include a temperature value (e.g., atemperature of the board, a temperature of the system, etc.), a linkuptime value, and/or the like.

Furthermore, the historical link quality information may be associatedwith a set of network devices that operate under different environmentalconditions, thereby allowing the model generation device to train a datamodel that accounts for a number of different environmental conditions.

As shown by reference number 110, the model generation device may traina data model. For example, the model generation device may train thedata model by creating a prediction function that is able to classifylinks that are actively supporting traffic flow, as described furtherherein. In this case, the network device may create the predictionfunction by associating values included in the historical link qualityinformation with quality coefficient values (e.g., values indicating aparticular link quality measurement). Additionally, the network devicemay configure one or more weight values that may be used in determiningan overall link quality score.

As an example, assume the historical link quality information includesfive values (e.g., value A, value B, value C, value D, and value E).Further assume that value A has a positive influence on link quality(e.g., a high A value is a strong indicator of high link quality), thatvalues B-D do not have a high influence on link quality, and that valueE has a negative influence on link quality (e.g., a high E value is astrong indicator of low link quality). In this case, a predictionfunction may account for the varied degrees of influence by assigningvalues a polarity (e.g., positive, negative) and a weight (e.g., LinkQuality=0.9A+0.1B+0.2C+0.05D−0.9E).

As shown by reference number 115, the model generation device mayprovide the data model to a set of network devices (shown as networkdevice 1 through network device N). For example, the model generationdevice may provide the prediction function to the set of network devicesto serve as an initial data model that each network device may implementwhen monitoring traffic flow.

In this way, the set of network devices may receive a trained data modelthat may be used to classify links that actively support traffic flow.

While FIGS. 1B-1D show a first network device (shown as network device1) performing one or more actions associated with improving accuracy oflink classification and/or one or more actions associated with improvinglink quality, in practice, the set of network devices (network device 1through network device N) each perform one or more actions associatedwith improving accuracy of link classification and/or one or moreactions associated with improving link quality.

As shown in FIG. 1B, and by reference number 120, the first networkdevice may analyze traffic associated with a link to determine linkquality information. For example, traffic may be passing through a link,and the first network device may use one or more performance monitoringtechniques to determine link quality information for the link.

As an example, the first network device may determine a BER value bycomparing bit string values before and after the bit string travelsthrough the link. As another example, the first network device may useone or more sensors to measure temperature values associated with aboard. As another example, the first network device may monitor trafficto determine a noise value and a signal value, and may process thevalues to determine an SNR value. In this way, the first network devicemay determine link quality information for a link that is activelysupporting traffic flow.

As shown by reference number 125, the first network device may classifythe link using the data model. For example, the first network device mayclassify the link by using the link quality information as input to thedata model, which may cause the data model to output an overall linkquality score. In some cases, the overall link quality score may beassociated with one or more link quality classes, such as a classassociated with high link quality, a class associated with marginal linkquality, or a class associated with low link quality. In the exampleshown, the data model may classify the link into a class associated withmarginal link quality.

By using the data model to classify the link, the first network devicemay perform one or more actions associated with improving accuracy oflink classification and/or one or more actions associated with improvinglink quality, as described further herein.

As shown in FIG. 1C, and by reference number 130, the first networkdevice may determine an actual quality level of the link. For example,the first network device may determine an actual quality level of thelink while the link is active and/or may determine an actual qualitylevel of the link after disabling the link. As an example, the firstnetwork device may determine an actual quality level of the link whilethe link is active by executing non-intrusive techniques such as an FECtechnique, a CRC technique, or the like. As another example, the firstnetwork device may disable the link after traffic has been redirected toanother link (so as to prevent traffic drop on the link), and maydetermine an actual quality level of the link by performing a diagnostictest on the link. In some cases, the first network device may use apseudorandom binary sequence (PRBS) test to monitor bits that travelthrough the link. In this case, the link may pass or fail the PRBS testbased on a number of bits that successfully travel through the link. Asshown as an example, assume that a threshold amount of bits change value(e.g., from 0 to 1 or from 1 to 0) as the bits travel through the link.This may cause the link to fail the diagnostic test, indicating that thelink is a low quality link.

Additionally, the first network device may determine whether the link iscorrectly classified. For example, the first network device may comparethe classification of the link and the actual quality level of the link(e.g., as indicated by the diagnostic test). If the classification ofthe link and the actual quality level of the link does not match (i.e.,the link is incorrectly classified), then the first network device mayupdate the data model by modifying one or more quality coefficientvalues to improve subsequent classifications of the link. For example,the first network device may receive a classification as a marginalquality link (e.g., as a result of training data), but may have anactual link classification of low link quality due to environmentconditions that are specific to the first network device. In this way,the first network device may update the data model to dynamically adaptto the environment conditions that are specific to the first networkdevice.

As shown by reference number 135, the first network device may updatethe class of the link. For example, the first network device may updatethe class of the link based on a result of the diagnostic test. In thiscase, the first network device may update the class of the link to adifferent class than the previous classification. For example, the firstnetwork device may update the class of the link to a class associatedwith high link quality if the link passes the diagnostic test, and mayupdate the class of the link to a class associated with low link qualityif the link fails the diagnostic test. Alternatively, the first networkdevice may update the class of the link by re-using the link qualityinformation as input for the data model. In this case, the data modelmay output a more accurate link quality prediction as a result ofmodifying the one or more quality coefficient values associated with thedata model. In the example shown, the first network device may updatethe class of the link to a class associated with low link quality.

By determining an actual quality level of the link and updating theclass of the link, the first network device is able to improve accuracyof link classification. Furthermore, if the link is classified orreclassified as a low quality link, the first network device may disablethe link to prevent subsequent traffic from suffering from packet loss.

As shown in FIG. 1D, and by reference number 140, the first networkdevice may determine whether the link has received a threshold number ofclassifications associated with low link quality. For example, the firstnetwork device may monitor the link over an interval, and mayperiodically classify the link throughout the interval. In this case, ifthe first network device classifies the link as a low quality link, thenthe first network device may compare a current number of times the linkis classified as a low quality link to a threshold number ofclassifications associated with low link quality. In this way, the firstnetwork device is able to identify whether to blacklist the link (i.e.,prevent the link from being able to actively support traffic flow) or tomonitor and test the link.

As shown by reference number 145, if the current number of times thelink is classified as a low quality link does not satisfy the thresholdnumber of classifications associated with low link quality, then thefirst network device may monitor and test the link. For example, thefirst network device may continue to monitor the link, perform anadditional diagnostic test on the link, execute additional FEDtechniques and/or update the data model to improve accuracy of linkclassification, and/or the like. In this way, the first network deviceis able to verify whether the link is a low quality link beforeblacklisting the link and/or performing additional actions associatedwith improving link quality.

As shown by reference number 150, if the current number of times thelink is classified as a low quality link satisfies the threshold numberof classifications associated with low link quality, then the firstnetwork device may blacklist the link. In this case, the first networkdevice may blacklist the link to prevent the link from being able toactively support traffic flow. By blacklisting the link, the firstnetwork device avoids traffic drops and link faults that may result ifthe low quality link continues supporting traffic flow, therebyimproving quality of network communications.

As shown by reference number 155, the first network device may generatea recommendation. For example, the first network device may generate arecommendation to repair the link (e.g., an internal link, an externallink) and/or the board, replace the link (e.g., an external link) and/orthe board, or the like. In this case, the recommendation may include thelink quality information associated with the link, results of thediagnostic test, and/or instructions indicating a particular action tobe performed (e.g., repair the link, repair the board, replace the link,replace the board, etc.).

As shown by reference number 160, the first network device may providethe recommendation to a network management device associated with aninterested party (e.g., a technician). In this way, the interested partymay repair and/or replace the link and/or the board, thereby improvingnetwork communications relative to allowing a low quality link tocontinue to support traffic flow.

In some implementations, the first network device may generate andprovide a recommendation for a link that is classified or reclassifiedinto a class associated with marginal link quality. In this way, theinterested party may repair and/or replace the link and/or the boardprior to packet drop and/or signal loss.

As shown by reference number 165, the first network device may continuetuning the data model. For example, the first network device maycontinue to monitor traffic flow and modify the data model to improveaccuracy of link classification, adapt to environmental conditionsassociated with the link, use a forecasting technique to identify a linkfault prior to the fault occurring, and/or the like.

In this way, the first network device is able to manage link quality andpredict link faults prior to the occurrence of the links faults.

As indicated above, FIGS. 1A-1D are provided merely as an example. Otherexamples are possible and may differ from what was described with regardto FIGS. 1A-1D.

FIG. 2 is a diagram of an example environment 200 in which systemsand/or methods, described herein, may be implemented. As shown in FIG.2, environment 200 may include one or more data sources 210, a modelgeneration device 220, one or more network devices 230-1 through 230-N(N≥1) (hereinafter referred to collectively as “network devices 230”,and individually as “network device 230”), a network management device240, and/or a network 250. Devices of environment 200 may interconnectvia wired connections, wireless connections, or a combination of wiredand wireless connections.

Data source 210 includes one or more devices capable of receiving,storing, and/or providing historical link quality information. Forexample, data source 210 may include a server device or a group ofserver devices. In some implementations, data source 210 may interactwith a set of network devices 230 (or other devices that may monitorlink quality) to receive link quality information and store the linkquality information as historical link quality information. In someimplementations, data source 210 may store historical link qualityinformation associated with a set of links. In some implementations,data source 210 may provide the historical link quality information tomodel generation device 220 and/or network device 230.

Model generation device 220 includes one or more devices capable ofreceiving, storing, processing, and/or providing information associatedwith link quality. For example, model generation device 220 may includea server device or a group of server devices. In some implementations,model generation device 220 may be implemented as a cloud platform.Alternatively, model generation device 220 may be implemented as aserver device (e.g., an on-site server device). In some implementations,model generation device 220 may receive historical link qualityinformation from data source 210. In some implementations, modelgeneration device 220 may process the historical link qualityinformation to train a data model (e.g., by creating a predictionfunction). In some implementations, model generation device 220 mayprovide a trained data model (e.g., the prediction function) to networkdevice 230.

Network device 230 includes one or more devices capable of receiving,processing, forwarding, and/or transferring information associated witha link. For example, network device 230 may include a router, such as alabel switching router (LSR), a label edge router (LER), an ingressrouter, an egress router, a provider router (e.g., a provider edgerouter, a provider core router, etc.), a virtual router, or the like.Additionally, or alternatively, network device 230 may include agateway, a switch, a firewall, a hub, a bridge, a reverse proxy, aserver (e.g., a proxy server, a cloud server, a data center server,etc.), a load balancer, or a similar device. In some implementations,network device 230 may be a physical device implemented within ahousing, such as a chassis. In some implementations, network device 230may be a virtual device implemented by one or more computer devices of acloud computing environment or a data center.

In some implementations, network device 230 may include or connect to aset of links, and the set of links may be monitored (e.g., using ahardware component, such as a sensor or a tap, using a software module,etc.) to identify link quality information associated with the set oflinks. In some implementations, network device 230 may use a data model(e.g., a prediction function) to classify the link, and may perform oneor more actions associated with improving accuracy of linkclassification (e.g., as shown in FIG. 2 by feedback loops, networkdevices 230 may tune the data model) and/or one or more actionsassociated with improving link quality. In some implementations, networkdevice 230 may provide link quality information to data source 210(e.g., which may be stored as historical link quality information). Insome implementations, network device 230 may provide a recommendation torepair a link to network management device 240.

Network management device 240 includes one or more devices capable ofreceiving, storing, processing, and/or providing information associatedwith a link. For example, network management device 240 may include acomputing device, such as a desktop computer, a laptop computer, atablet computer, a server device, a mobile phone (e.g., a smart phone ora radiotelephone), a wearable computer (e.g., a smart watch, a smartband, a smart pair of eyeglasses, etc.), a sensor device, or a similartype of device. In some implementations, network management device 240may receive, from network device 230, a recommendation to repair a link,to replace a board associated with the link, or the like. In this case,network management device 240 may schedule an appointment to repair thelink or to replace a board associated with the link, and/or may providea response message to network device 230 indicating that the appointmenthas been scheduled.

Network 250 includes one or more wired and/or wireless networks. Forexample, network 250 may include a cellular network (e.g., a fifthgeneration (5G) network, a fourth generation (4G) network, such as along-term evolution (LTE) network, a third generation (3G) network, acode division multiple access (CDMA) network, etc.), a public landmobile network (PLMN), a local area network (LAN), a wide area network(WAN), a metropolitan area network (MAN), a telephone network (e.g., thePublic Switched Telephone Network (PSTN)), a private network, an ad hocnetwork, an intranet, the Internet, a fiber optic-based network, a cloudcomputing network, or the like, and/or a combination of these or othertypes of networks.

The number and arrangement of devices and networks shown in FIG. 2 areprovided as an example. In practice, there may be additional devicesand/or networks, fewer devices and/or networks, different devices and/ornetworks, or differently arranged devices and/or networks than thoseshown in FIG. 2. Furthermore, two or more devices shown in FIG. 2 may beimplemented within a single device, or a single device shown in FIG. 2may be implemented as multiple, distributed devices. Additionally, oralternatively, a set of devices (e.g., one or more devices) ofenvironment 200 may perform one or more functions described as beingperformed by another set of devices of environment 200.

FIG. 3 is a diagram of example components of a device 300. Device 300may correspond to data source 210, model generation device 220, networkdevice 230, and/or network management device 240. In someimplementations, data source 210, model generation device 220, networkdevice 230, and/or network management device 240 may include one or moredevices 300 and/or one or more components of device 300. As shown inFIG. 3, device 300 may include a switching fabric 310, one or more linecards 320, one or more links (e.g., a set of external links 330, a setof inter-board links 340, a set of intra-board (onboard) links 342,etc.), and/or a controller 350. In some implementations, traffic betweenswitching fabric 310 and controller 350 may be provided and/or receivedthrough a single internal link 340. In some implementations, trafficbetween switching fabric 310 and controller 350 may be provided and/orreceived through a set of inter-board links 340, where each internallink 340 may be designated for a subset of external links 330 and/or asubset of line cards 320. In some implementations, line card 320 may usea set of inter-board links 340 to communicate with one or morecorresponding planes of a switching fabric 310.

Switching fabric 310 interconnects external links 330 via line cards320. In some implementations, switching fabric 310 may be implementedusing one or more switching fabric components 312 (e.g., one or morecrossbars, one or more busses, one or more shared memories, and/or oneor more planes). In some implementations, switching fabric components312 may be connected using intra-board (onboard) links 342. In someimplementations, switching fabric 310 may enable external links 330 tocommunicate. For example, switching fabric 310 may connect with one ormore line cards 320 via a set of inter-board links 340, and the one ormore line cards 320 may connect with the external links 330, asdescribed further herein.

Line cards 320 include one or more line card components 322. Forexample, line cards 320 may include a modular electronic circuitdesigned to fit on a PCB, and may include one or more line cardcomponent 322 (e.g., a packet processing component, a re-timer, etc.). Apacket processing component may include one or more processors toprocess packets, and may process incoming traffic, such as by performingdata link layer encapsulation or decapsulation. In some implementations,a packet processing component may receive a packet from switching fabric310, may process the packet, and may output the processed packet to anappropriate external link 330 connected to line card component 320.Additionally, or alternatively, a packet processing component mayreceive a packet from an external link 330, may process the packet, andmay output the processed packet to switching fabric 310 for transfer tocontroller 350 and/or to another external link 330 (e.g., via the samepacket processing component or a different packet processing component).

External link 330 is a point of attachment for physical links, and maybe a point of ingress and/or egress for incoming and/or outgoingtraffic, such as packets. In some implementations, a single line card320 may be connected to multiple external links 330. In someimplementations, a single line card 320 may be connected to a singleexternal link 330. An external link 330 may permit communication betweena first network device 230 and a second network device 230 that is aneighbor of the first network device 230. External link 330 may storepackets (e.g., in a buffer) and/or may schedule packets for transmissionon output physical links. External link 330 may support data link layerencapsulation or decapsulation and/or a variety of higher-levelprotocols.

Inter-board link 340 is a path that allows line card 320 and/orcontroller 350 to communicate with switching fabric 310. Inter-boardlink 340 may include, for example, a wired or wireless path, such as afiber-optic path, an electrical path, or the like. In someimplementations, there may be multiple inter-board links 340 between asingle line card component 320 and switching fabric 310. In someimplementations, there may be a single inter-board link 340 betweencontroller 350 and switching fabric 310. Intra-board (onboard) link 342is a path that allows interconnection between line card components 322and/or switching fabric components 312.

Controller 350 includes a processor in the form of, for example, acentral processing unit (CPU), a graphics processing unit (GPU), anaccelerated processing unit (APU), a microprocessor, a microcontroller,a digital signal processor (DSP), a field-programmable gate array(FPGA), an application-specific integrated circuit (ASIC), and/oranother type of processor. The processor is implemented in hardware,firmware, or a combination of hardware and software. In someimplementations, controller 350 may include one or more processors thatmay be programmed to perform a function. In some implementations,controller 350 may include a group of virtual devices that each includesone or more processors.

In some implementations, controller 350 may include a random accessmemory (RAM), a read only memory (ROM), and/or another type of dynamicor static storage device (e.g., a flash memory, a magnetic memory, anoptical memory, etc.) that stores information and/or instructions foruse by controller 350.

In some implementations, controller 350 may communicate with otherdevices, networks, and/or systems connected to device 300 to exchangeinformation regarding network topology. Controller 350 may createrouting tables based on the network topology information, createforwarding tables based on the routing tables, and forward theforwarding tables to line card component 320, such as for use inperforming route lookups for incoming and/or outgoing packets.

Controller 350 may perform one or more processes described herein.Controller 350 may perform these processes in response to executingsoftware instructions stored by a non-transitory computer-readablemedium. A computer-readable medium is defined herein as a non-transitorymemory device. A memory device includes memory space within a singlephysical storage device or memory space spread across multiple physicalstorage devices.

Software instructions may be read into a memory and/or a storagecomponent associated with controller 350 from another computer-readablemedium or from another device via a communication interface. Whenexecuted, software instructions stored in a memory and/or storagecomponent associated with controller 350 may cause controller 350 toperform one or more processes described herein. Additionally, oralternatively, hardwired circuitry may be used in place of or incombination with software instructions to perform one or more processesdescribed herein. Thus, implementations described herein are not limitedto any specific combination of hardware circuitry and software.

The number and arrangement of components shown in FIG. 3 are provided asan example. In practice, device 300 may include additional components,fewer components, different components, or differently arrangedcomponents than those shown in FIG. 3. Additionally, or alternatively, aset of components (e.g., one or more components) of device 300 mayperform one or more functions described as being performed by anotherset of components of device 300.

FIG. 4 is a flow chart of an example process 400 for using machinelearning to monitor link quality and detect link faults. In someimplementations, one or more process blocks of FIG. 4 may be performedby network device 230. In some implementations, one or more processblocks of FIG. 4 may be performed by another device or a group ofdevices separate from or including network device 230, such as datasource 210, model generation device 220, and/or network managementdevice 240.

As shown in FIG. 4, process 400 may include receiving historical linkquality information associated with a set of links (block 410). Forexample, model generation device 220 may receive, from data source 210,historical link quality information associated with a set of links(e.g., a set of internal links within a network device, a set ofexternal links between devices, etc.). A link may be an internal linkthat provides a connection between components and/or modules of a device(e.g., hardware components, software modules, etc.) or may be anexternal link that provides a connection between devices.

In some implementations, data source 210 may store historical linkquality information. For example, data source 210 may store historicallink quality information using a data structure, such as an array, alinked-list, a tree, a graph, a hash table, a database, and/or the like.In some implementations, data source 210 may store large quantities ofdata. For example, data source 210 may store thousands, millions,billions, or even trillions of data points.

In some implementations, model generation device 220 may receivehistorical link quality information. Historical link quality informationmay include one or more actual measures of link quality, one or morepredictors of link quality, and/or one or more environment conditions.For example, the one or more actual measures of link quality may includeone or more values associated with identifying errors in datatransmission, such as a forward error correction (FEC) value, a cyclicredundancy check (CRC) value, one or more values measuring signalintegrity, such as a signal-to-noise (SNR) ratio value, and/or the like.Additionally, the one or more predictors of link quality may include abit error rate (BER) value, a link eye width value, a link eye heightvalue, a link quality slope, and/or the like. Furthermore, the one ormore environment conditions may include a temperature value (e.g., atemperature of the board, a temperature of the system, etc.), a linkuptime value, and/or the like.

In some implementations, model generation device 220 may receivehistorical link quality information for a set of network devices 230.For example, model generation device 220 may receive historical linkquality information for a set of network devices 230 that operate underdifferent environment conditions. By receiving historical link qualityinformation for devices operating under different environmentconditions, the model generation device 220 may process the historicallink quality information to train a data model, as described furtherherein.

In this way, model generation device 220 may receive historical linkquality information associated with a set of links, such that theinformation may be used to train a data model.

As further shown in FIG. 4, process 400 may include training a datamodel using the historical link quality information (block 420). Forexample, model generation device 220 may, using a machine learningtechnique, train a data model that may be used to classify a link, asdescribed further herein.

In some implementations, model generation device 220 may train a datamodel for use by a set of network devices 230. For example, modelgeneration device 220 may train a data model by creating a predictionfunction, and may provide the prediction function to the set of networkdevices 230. In this case, model generation device 220 may create theprediction function by associating values included in the historicallink quality information with dynamic quality coefficient values (e.g.,which may be positive or negative). A quality coefficient value may be avalue indicating a particular link quality measurement. In some cases,the quality coefficient values may be grouped into classes associatedwith high link quality, marginal link quality, or low link quality.

Additionally, model generation device 220 may create the predictionfunction by configuring one or more weight values that may be used indetermining an overall link quality score. For example, model generationdevice 220 may assign weights to particular quality coefficient values.In this way, model generation device 220 may use the weighted qualitycoefficient values to determine an overall link quality score.

In some implementations, as described herein, model generation device220 may train a data model using a supervised machine learningtechnique. Additionally, or alternatively, model generation device 220may train a data model using a different type of machine learningtechnique, such as machine learning via clustering, dimensionalityreduction, structured prediction, anomaly detection, neutral networks,reinforcement learning, or the like.

In this way, model generation device 220 may, using the historical linkquality information, train a data model that may be used by a set ofnetwork devices 230 to classify a set of links that actively supporttraffic flow. While the set of network devices 230 may utilize the datamodel to classify a set of links that actively support traffic flow,implementations described herein describe a data flow associated with asingle network device 230 and a single link to illustrate the exampleprocess.

As further shown in FIG. 4, process 400 may include providing the datamodel to a network device (block 430). For example, model generationdevice 220 may provide the data model (e.g., that includes theprediction function) to network device 230. In this way, network device230 may use the data model to classify a link that is activelysupporting traffic flow.

As further shown in FIG. 4, process 400 may include classifying a linkthat is actively supporting traffic flow by using link qualityinformation associated with the link as input for the data model (block440). For example, network device 230 may receive the data model, andmay determine link quality information associated with a link that isactively supporting traffic flow, and may use the link qualityinformation as input for the data model. In this case, the data modelmay output an overall link quality score that serves to classify thelink into a class associated with high link quality, a class associatedwith marginal link quality, or a class associated with low link quality.In other cases, the data model may use a different classificationscheme, such as a classification scheme with more classes, aclassification scheme with less classes, a classification scheme focusedon a different metric (e.g., a subset of link quality, such asparticular link quality metric), or the like.

In some implementations, network device 230 may determine link qualityinformation associated with a link that is actively supporting trafficflow. For example, network device 230 may use one or more techniques todetermine link quality for the link and/or monitor environmentconditions. In some cases, network device 230 may use different qualitymonitoring techniques to monitor different values included in the linkquality information. As an example, network device 230 may monitor bitstraveling through the link to determine a BER value. As another example,network device 230 may use one or more sensors to monitor and measuretemperature values associated with the board, an ASIC, etc. In this way,network device 230 may determine link quality information for a linkthat is actively supporting traffic flow.

In some implementations, network device 230 may classify a link into aclass associated with high link quality. For example, network device 230may use, as input for the data model, link quality information thatincludes one or more values associated with high link quality (e.g., alow BER value, a low FEC value, etc.). In this case, the data model mayoutput an overall link quality score associated with high link quality.In some implementations, network device 230 may classify a link into aclass associated with marginal link quality or a low link quality in thesame manner described above.

In this way, network device 230 is able to classify the link into aclass associated with a particular quality level, and may prevent linkfailure and traffic loss by disabling links with a marginal or low linkquality.

As further shown in FIG. 4, process 400 may include disabling the linkif the link is classified into a class associated with marginal linkquality or into a class associated with low link quality (block 450).For example, network device 230 may classify the link into a classassociated with marginal link quality or low link quality, may redirecttraffic to avoid traffic flow via the link, and may disable the link.

In some implementations, prior to disabling the link, network device 230may determine an actual quality level of the link by executing an FECtechnique, a CRC technique, or the like. For example, network device 230may execute an FEC technique, a CRC technique, or the like, to determinewhether an output of the data model is a false prediction (e.g., a falsepositive, a false neutral, a false negative). In this case, if networkdevice 230 detects a false prediction, then network device 230 mayupdate the data model, thereby improving accuracy of subsequent linkpredictions.

In some implementations, network device 230 may disable the link. Forexample, assume the link is classified into a class associated withmarginal link quality or low link quality. In this case, network device230 may redirect traffic to avoid traffic flow via the link (e.g., byassigning one or more additional links to support traffic flowassociated with the link classified as marginal link quality or low linkquality). Additionally, network device 230 may disable the link to allowone or more actions to be executed to improve accuracy of linkclassification.

As further shown in FIG. 4, process 400 may include performing, afterdisabling the link, one or more actions associated with improvingaccuracy of link classification (block 460). For example, network device230 may determine an actual quality of the link (e.g., by performing adiagnostic test, etc.), update the data model (e.g., by modifyingquality coefficient values, threshold values, weight values, etc.),update the class of the link, and/or the like.

In some implementations, network device 230 may determine an actualquality level of the link by performing a diagnostic test. For example,network device 230 may perform a pseudorandom binary sequence (PRBS)test to determine an actual quality level of the link. In this case,network device 230 may perform a PRBS test to determine an actualquality level of the link (e.g., high quality, marginal quality, lowquality, etc.), and may compare the actual quality level of the link andthe link classification to determine whether the link is correctlyclassified.

In some cases, the PRBS test may be able to determine an actual qualitylevel of the link by determining how many bits are able to accuratelytravel through the link (e.g., whether a zero bit stays a zero bit froma first side of the link to a second side of the link, whether a one bitstays a one bit from a first side of the link to a second side of thelink, and/or the like). In this case, the PRBS test may use thresholdsto determine an actual quality level of the link. If a first thresholdamount of bits accurately travel through the link, then the PRBS testmay determine that the link is associated with high link quality. If asecond threshold amount of bits accurately travel through the link, thenthe PRBS test may determine that the link is associated with marginallink quality. If a third threshold amount of bits accurately travelthrough the link, then the PRBS test may determine that the link isassociated with low link quality. In this way, the PRBS test may comparethe actual quality of the link to the link classification to determinewhether the link is correctly classified.

In some implementations, network device 230 may update the class of thelink based on a result of the diagnostic test. For example, networkdevice 230 may update the class of the link if the diagnostic testindicates that an actual quality of the link is different from a qualityassociated with the classification.

In some implementations, network device 230 may update the class of thelink by updating the data model. For example, network device 230 maymodify (e.g., increase, decrease, etc.) one or more of the qualitycoefficient values based on a result of the diagnostic rest. In thiscase, network device 230 may re-provide the link quality information asinput to the data model, which may cause the data model to update theclass of the link using the one or more modified quality coefficientvalues. In this way, network device 230 increases accuracy of subsequentpredictions (e.g., relative to not updating the data model).

As an example, assume network device 230 classifies the link into aclass associated with high link quality and that the link fails thediagnostic test. In this case, network device 230 may update the classof the link to a class associated with marginal link quality or to aclass associated with low link quality based on an output of thediagnostic test. Additionally, network device 230 may modify qualitycoefficient values that are associated with classifying the link,thereby allowing network device 230 to make more accurate subsequentlink quality predictions. In this way, network device 230 may update thedata model to eliminate false-positives (e.g., predictions that linkquality is high when actual link quality is low).

As another example, assume network device 230 classifies the link into aclass associated with marginal link quality and that the link does notreceive a diagnostic test score associated with marginal link quality.In this case, network device 230 may update the class of the link to aclass associated with high link quality or to a class associated withlow link quality. If the link passes the diagnostic test (e.g., receivesa score associated with high link quality), then network device 230 mayupdate the data model by modifying quality coefficient values that areassociated with classifying the link. If the link fails the diagnostictest (e.g., receives a score associated with low link quality), thennetwork device 230 may update the data model by modifying qualitycoefficient values that are associated with classifying the link. Inthis way, network device 230 may update the data model to eliminatefalse-neutrals (e.g., predictions that link quality is marginal whenactual link quality is high or low).

As another example, assume network device 230 classifies the link into aclass associated with low link quality and that the link passes thediagnostic test. In this case, network device 230 may update the classof the link to a class associated with high link quality or to a classassociated with marginal link quality. If the link passes the diagnostictest with a score associated with high link quality, then network device230 may update the data model by modifying quality coefficient valuesthat are associated with classifying the link. If the link passes thediagnostic test with a score associated with a marginal quality link,then network device 230 may update the data model by modifying (e.g., bya lower amount than an amount associated with updating the class of thelink to a class associated with high link quality) quality coefficientvalues that are associated with classifying the link. In this way,network device 230 may update the data model to eliminatefalse-negatives (e.g., predictions that link quality is low when actuallink quality is marginal or high).

As another example, assume network device 230 classifies the link andthat the diagnostic test confirms that the classification is correct. Inthis case, network device 230 may update the data model with informationindicating that the quality coefficient values used are the correctvalues. In this way, network device 230 is able to classify subsequentlinks that have similar link quality information with a higher degree ofconfidence.

In some implementations, network device 230 may monitor reclassifiedlinks (i.e., links that have had the classification updated). Forexample, network device 230 may monitor reclassified links by receivingan increased frequency of link quality information (e.g., an increasedfrequency as compared to a frequency in which link quality informationwas received during block 440). Additionally, network device 230 maymake an increased number of link quality predictions to verify whetherthe reclassification improved accuracy of link classification. In someimplementations, network device 230 may monitor reclassified links overa time interval. In some cases, a duration of the interval may beassociated with link quality (e.g., a longer interval for low qualitylinks than for marginal quality links).

As an example, assume network device 230 determines that the link is ahigh risk link by classifying the link as having low link quality. Inthis case, network device 230 may monitor and test the link morefrequently and more extensively than monitoring and testing associatedwith lower risk links.

In some implementations, network device 230 may iteratively determinewhether the link is correctly classified and may iteratively update theclass of the link until the link is correctly classified.

By performing one or more actions associated with improving accuracy oflink classification, a data model that has been continuously updated bynetwork device 230 may correctly classify link quality in all (or most)situations, thereby allowing network device 230 to perform one or moreassociated with improving link quality.

As further shown in FIG. 4, process 400 may include performing, afterclassifying the link, one or more actions associated with improving linkquality (block 470). For example, network device 230 may adapt toenvironmental conditions associated with the link (e.g., a temperaturelevel, a voltage level, etc.), provide a report and/or a recommendationto an interested party (e.g., a network administrator, a technician,etc.), and/or the like.

In some implementations, network device 230 may adapt to environmentalconditions associated with the link. For example, network device 230 mayidentify false predictions (e.g., false positives, false neutrals, falsenegatives, etc.), and may adapt to environmental conditions byretraining the data model after identifying the false predictions. Inthis way, network device 230 may retrain the data model to adapt toenvironmental conditions of a particular network device.

In some implementations, network device 230 may implement a forecastingtechnique with a separate data model. For example, network device 230may train a separate data model that includes a set of characteristicsassociated with link faults (e.g., including data leading up to linkfailure). In this case, network device 230 may provide link qualityinformation associated with an active link as input for the separatedata model, which may cause the separate data model to output aprojected time period at which the link is predicted to degrade in linkquality past a particular link quality threshold.

In some implementations, network device 230 may blacklist the link(i.e., prevent the link from being able to actively support trafficflow). For example, network device 230 may blacklist a low quality linkto prevent loss of traffic until the link and/or the board is repairedand/or replaced. In some cases, network device 230 may determine whetherthe link has a history of being classified into a class associated withlow link quality, and may blacklist the link if the link has beenclassified into the class associated with low link quality more than athreshold number of times. In some cases, network device 230 mayblacklist the link by providing an indication to a software module thatcontrols link traffic that the link is no longer able to support trafficflow.

As an example, assume the link is classified into a class associatedwith low link quality. In this case, if the link has a history of beingclassified into the class associated with low link quality, then networkdevice 230 may blacklist the link, thereby preventing the link fromactively supporting traffic flow. If the link does not have a history ofbeing classified into the class associated with low link quality, thennetwork device 230 may perform a diagnostic test to determine an actualquality of the link, as described above. In this way, network device 230is able to reduce link faults (e.g., packet loss, signal attenuation,etc.) within network device 230 until the link and/or the board isrepaired and/or replaced.

Additionally, or alternatively, network device 230 may provide, tonetwork management device 240, a recommendation to repair or replace oneor more hardware components and/or software modules associated with thelink. For example, network device 230 may generate a recommendation thatincludes link quality information for the link, results of a diagnostictest, and/or instructions indicating a particular action to be performed(e.g., repair the link, repair the board, replace the link, replace theboard, etc.). In this case, network device 230 may provide therecommendation to network management device 240. In someimplementations, network device 230 may automatically schedule anappointment to have an interested party (e.g., a technician) repair ahardware component and/or a software module associated with the link.

In this way, network device 230 may perform one or more actionsassociated with improving link quality. Additionally, network device 230predicting link faults prior to the occurrence of the faults preventstraffic loss. Furthermore, by performing one or more actions associatedwith improving accuracy of link classification and/or link quality,network device 230 improves efficiency and reliability of networkcommunications.

Although FIG. 4 shows example blocks of process 400, in someimplementations, process 400 may include additional blocks, fewerblocks, different blocks, or differently arranged blocks than thosedepicted in FIG. 4. Additionally, or alternatively, two or more of theblocks of process 400 may be performed in parallel.

FIGS. 5A-5C are diagrams of one or more example implementations relatingto the example process shown in FIG. 4. FIG. 5A shows an exampleimplementation where network device 230 may identify a false positive,and my update the data model to improve accuracy of link classification.FIG. 5B shows an example implementation where network device 230 mayidentify a false neutral, and may update the data model to improveaccuracy of link classification. FIG. 5C shows an example implementationwhere network device 230 may identify a false negative, and may updatethe data model to improve accuracy of link classification. In this way,network device 230 may continue to improve link classification until thedata model is able to correctly classify all (or close to all) of thelinks, thereby ensuring that actions may be taken to improve linkquality.

As shown in FIG. 5A, network device 230 may identify false positives(e.g., the data model may falsely classify a link into a classassociated with high link quality when actual link quality is marginalor low). As shown by reference number 502, network device 230 mayclassify the link into a class associated with high link quality. Inthis case, network device 230 may determine whether actual link errors(e.g., hardware errors) are associated with the link by executing a FECtechnique, a CRC technique, or the like.

As shown by reference number 504, if network device 230 determines thatthere are no FEC errors, CRC errors, or the like, then network device230 may idle and/or monitor the link. In this case, the FEC technique,the CRC technique, or the like, serve to verify that link is correctlyclassified as having high link quality.

As shown by reference number 506, if network device 230 determines thatthere are FEC errors, CRC errors, or the like, then network device 230may update the data model. In this case, network device 230 may updatethe data model by modifying one or more quality coefficient values. Inthis case, modifying the one or more quality coefficient valuesassociated with the link quality information may allow the data model tocorrectly classify links with similar link quality information when thedata model is used for subsequent classifications.

In this way, network device 230 is able to identify false positives, andmay update the data model to improve the accuracy of linkclassification.

As shown in FIG. 5B, network device 230 may identify false neutrals(e.g., the data model may falsely classify a link into a classassociated with marginal link quality when actual link quality is highor low). As shown by reference number 508, network device 230 mayclassify a link into a class associated with marginal link quality. Inthis case, and as shown by reference number 510, network device 230 maydisable, monitor, and test the link, in the same manner described above.As shown by reference number 512, if the link passes the test with ahigh passing score (shown as a “high pass”), then network device 230 mayupdate the class of the link to a class associated with high linkquality. In this case, network device 230 may re-enable the link toallow the link to continue supporting network traffic flow.

Additionally, and as shown by reference number 514, network device 230may update the data model. For example, network device 230 may updatethe data model by modifying one or more quality coefficient values. Inthis case, modifying the one or more quality coefficient valuesassociated with the link quality information may allow the data model tocorrectly classify links with similar link quality information when thedata model is used for subsequent classifications.

As shown by reference number 516, if the link fails the diagnostic test,then network device 230 may update the class of the link to a classassociated with low link quality. In this case, and as shown byreference number 518, network device 230 may update the data model. Forexample, network device 230 may update the data model by modifying oneor more quality coefficient values. This may allow the data model tocorrectly classify links with similar link quality information when thedata model is used for subsequent classifications.

As shown by reference number 520, if the link passes the test with a lowpassing score (shown as a “low pass”), then network device 230 mayupdate the class of the link to a class associated with marginal linkquality. In this case, network device 230 may update the data model byupdating one or more values associated with confidence scores, asdescribed above.

In this way, network device 230 is able to identify false neutrals, andmay update the data model to improve the accuracy of linkclassification.

As shown in FIG. 5C, network device 230 may identify false negatives(e.g., the data model may falsely classify a link into a classassociated with low link quality when actual link quality is marginal orhigh). As shown by reference number 522, network device 230 may classifya link into a class associated with low link quality.

As shown by reference number 524, network device 230 may determinewhether the link has received a threshold number of classificationsassociated with low link quality. In this case, network device 230 maycompare a current number of times the link is classified into a classassociated with low link quality and a threshold number ofclassifications associated with low link quality. As shown by referencenumber 526, network device 230 may blacklist the link, as describedelsewhere herein. In this way, network device 230 is able to preventlinks that are repeatedly classified as low quality from supportingtraffic flow.

As shown by reference number 528, if the current number of times thelink is classified into a class associated with low link quality doesnot satisfy the threshold number of classifications, then network device230 may disable, monitor, and test the link (e.g., using a diagnostictest), as described elsewhere herein. As shown by reference number 530,if the link passes the diagnostic test, then network device 230 mayupdate the class of the link to a class associated with high linkquality. In this case, and as shown by reference number 532, networkdevice 230 may update the data model by modifying one or more qualitycoefficient values. This may allow the data model to correctly classifya subsequent link with similar link quality information.

As shown by reference number 534, if the link fails the diagnostic test,then network device 230 may perform one or more actions associated withrepairing the link. For example, network device 230 may provide arequest to a network management device to repair the link, repair aboard associated with the link, replace the board, and/or the like.

In this way, network device 230 is able to identify false negatives, andmay update the data model to improve the accuracy of linkclassification.

As indicated above, FIGS. 5A-5C are provided merely as examples. Otherexamples are possible and may differ from what was described with regardto FIGS. 5A-5C.

In this way, network device 230 is able to identify false positives,false neutrals, and/or false negatives, and may update the data model toimprove the accuracy of link classification. By correctly classifyinglinks, network device 230 is able to identify situations where a link isbeginning to degrade in quality, and is able to take corrective actionsneeded to repair the link, repair the board, replace the link, orreplace the board, as described elsewhere herein. In this way, networkdevice 230 improves network performance relative to taking correctiveaction after a link fails.

The foregoing disclosure provides illustration and description, but isnot intended to be exhaustive or to limit the implementations to theprecise form disclosed. Modifications and variations are possible inlight of the above disclosure or may be acquired from practice of theimplementations.

As used herein, the term component is intended to be broadly construedas hardware, firmware, and/or a combination of hardware and software.

Some implementations are described herein in connection with thresholds.As used herein, satisfying a threshold may refer to a value beinggreater than the threshold, more than the threshold, higher than thethreshold, greater than or equal to the threshold, less than thethreshold, fewer than the threshold, lower than the threshold, less thanor equal to the threshold, equal to the threshold, etc.

It will be apparent that systems and/or methods, described herein, maybe implemented in different forms of hardware, firmware, or acombination of hardware and software. The actual specialized controlhardware or software code used to implement these systems and/or methodsis not limiting of the implementations. Thus, the operation and behaviorof the systems and/or methods were described herein without reference tospecific software code—it being understood that software and hardwaremay be designed to implement the systems and/or methods based on thedescription herein.

Even though particular combinations of features are recited in theclaims and/or disclosed in the specification, these combinations are notintended to limit the disclosure of possible implementations. In fact,many of these features may be combined in ways not specifically recitedin the claims and/or disclosed in the specification. Although eachdependent claim listed below may directly depend on only one claim, thedisclosure of possible implementations includes each dependent claim incombination with every other claim in the claim set.

No element, act, or instruction used herein should be construed ascritical or essential unless explicitly described as such. Also, as usedherein, the articles “a” and “an” are intended to include one or moreitems, and may be used interchangeably with “one or more.” Furthermore,as used herein, the term “set” is intended to include one or more items(e.g., related items, unrelated items, a combination of related andunrelated items, etc.), and may be used interchangeably with “one ormore.” Where only one item is intended, the term “one” or similarlanguage is used. Also, as used herein, the terms “has,” “have,”“having,” or the like are intended to be open-ended terms. Further, thephrase “based on” is intended to mean “based, at least in part, on”unless explicitly stated otherwise.

What is claimed is:
 1. A device, comprising: a memory; and one or moreprocessors to: receive a trained data model; determine, after receivingthe data model, link quality information associated with a link thatsupports traffic; classify the link by using the link qualityinformation as input for the data model, the data model to classify thelink into a class, of a set of classes, associated with measuring linkquality; disable the link after classifying the link into the class;perform, after disabling the link, a diagnostic test to identify thatthe link is not correctly classified; update the class of the link toanother class using the data model and after performing the diagnostictest; and update the data model by modifying one or more quality valuesthat are associated with at least one of classifying the link orupdating the class of the link.
 2. The device of claim 1, where the oneor more processors, when updating the class of the link to the otherclass, are to: update the class of the link to a class associated with alow link quality when the link fails the diagnostic test; and where theone or more processors, when updating the data model, are to: update thedata model based on the class associated with the low link quality. 3.The device of claim 1, where the one or more processors, when updatingthe class of the link to the other class, are to: update the class ofthe link to a class associated with a high link quality when the linkpasses the diagnostic test, the link passes the diagnostic test with ascore above a threshold; and where the one or more processors, whenupdating the data model, are to: update the data model based on theclass associated with the high link quality.
 4. The device of claim 1,where the one or more processors, when determining the link qualityinformation associated with the link, are to: measure the link qualityby identifying errors in data transmission using one or more of: aforward error correction value, or a cyclical redundancy check value. 5.The device of claim 1, where the one or more processors are further to:classify the link as a low quality link a particular quantity of times;and blacklist the link based on the particular quantity of timesexceeding a threshold quantity of times.
 6. The device of claim 1, wherethe one or more processors, when updating the data model, are to: updatethe data model by modifying one or more quality coefficient values thatare associated with the link quality information.
 7. The device of claim1, where the one or more processors, when determining the link qualityinformation associated with the link, are to: monitor data travelingthrough the link to determine a bit error ratio value; and where the oneor more processors, when classifying the link, are to: classify the linkbased on the bit error ratio value.
 8. A non-transitory computerreadable medium storing instructions, the instructions comprising: oneor more instructions, that when executed by one or more processors,cause the one or more processors to: receive a trained data model;determine, after receiving the data model, link quality informationassociated with a link that supports traffic; classify the link by usingthe link quality information as input for the data model, the data modelto classify the link into a class, of a set of classes, associated withmeasuring link quality; disable the link after classifying the link intothe class; perform, after disabling the link, a diagnostic test toidentify that the link is not correctly classified; update the class ofthe link to another class using the data model and after performing thediagnostic test; and update the data model by modifying one or morequality values that are associated with at least one of classifying thelink or updating the class of the link.
 9. The non-transitory computerreadable medium of claim 8, where the one or more instructions, thatcause the one or more processors to update the class of the link to theother class, cause the one or more processors to: update the class ofthe link to a class associated with a low link quality when the linkfails the diagnostic test; and where the one or more instructions, thatcause the one or more processors to update the data model, cause the oneor more processors to: update the data model based on the classassociated with the low link quality.
 10. The non-transitory computerreadable medium of claim 8, where the one or more instructions, thatcause the one or more processors to update the class of the link to theother class, cause the one or more processors to: update the class ofthe link to a class associated with a high link quality when the linkpasses the diagnostic test, the link passes the diagnostic test with ascore above a threshold; and where the one or more instructions, thatcause the one or more processors to update the data model, cause the oneor more processors to: update the data model based on the classassociated with the high link quality.
 11. The non-transitory computerreadable medium of claim 8, where the one or more instructions, thatcause the one or more processors to determine the link qualityinformation associated with the link, cause the one or more processorsto: measure the link quality by identifying errors in data transmissionusing one or more of: a forward error correction value, or a cyclicalredundancy check value.
 12. The non-transitory computer readable mediumof claim 8, where the one or more instructions further cause the one ormore processors to: classify the link as a low quality link a particularquantity of times; and blacklist the link based on the particularquantity of times exceeding a threshold quantity of times.
 13. Thenon-transitory computer readable medium of claim 8, where the one ormore instructions, that cause the one or more processors to update thedata model, cause the one or more processors to: update the data modelby modifying one or more quality coefficient values that are associatedwith the link quality information.
 14. The non-transitory computerreadable medium of claim 8, where the one or more instructions, thatcause the one or more processors to determine the link qualityinformation associated with the link, cause the one or more processorsto: monitor data traveling through the link to determine a bit errorratio value; and where the one or more instructions, that cause the oneor more processors to classify the link, cause the one or moreprocessors to: classify the link based on the bit error ratio value. 15.A method, comprising: receiving, by a device, a trained data model;determining, by the device and after receiving the data model, linkquality information associated with a link that supports traffic;classifying, by the device, the link by using the link qualityinformation as input for the data model, the data model to classify thelink into a class, of a set of classes, associated with measuring linkquality; disabling, by the device, the link after classifying the linkinto the class; performing, by the device and after disabling the link,a diagnostic test to identify that the link is not correctly classified;updating, by the device, the class of the link to another class usingthe data model and after performing the diagnostic test; and updating,by the device, the data model by modifying one or more quality valuesthat are associated with at least one of classifying the link orupdating the class of the link.
 16. The method of claim 15, whereupdating the class of the link to the other class comprises: updatingthe class of the link to a class associated with a low link quality whenthe link fails the diagnostic test; and where updating the data modelcomprises: updating the data model based on the class associated withthe low link quality.
 17. The method of claim 15, where updating theclass of the link to the other class comprises: updating the class ofthe link to a class associated with a high link quality when the linkpasses the diagnostic test, the link passes the diagnostic test with ascore above a threshold; and where updating the data model comprises:updating the data model based on the class associated with the high linkquality.
 18. The method of claim 15, further comprising: classifying thelink as a low quality link a particular quantity of times; andblacklisting the link based on the particular quantity of timesexceeding a threshold quantity of times.
 19. The method of claim 15,where updating the data model comprises: updating the data model bymodifying one or more quality coefficient values that are associatedwith the link quality information.
 20. The method of claim 15, wheredetermining the link quality information associated with the linkcomprises: monitoring data traveling through the link to determine a biterror ratio value; and where classifying the link comprises: classifyingthe link based on the bit error ratio value.